clear all
srbct_train_20=load('pick7_trn_nrm_nrp_lab_trp.txt');
srbct_train_20=srbct_train_20';
srbct_test_20=load('pick7_tes_nrm_nrp_lab_trp.txt');
srbct_test_20=srbct_test_20';
[trainn,trainm]=size(srbct_train_20);
[testn,testm]=size(srbct_test_20);
EWS_TR=23;
BL_TR=8;
NB_TR=12;
RMS_TR=20;
EWS_TE=6;
BL_TE=3;
NB_TE=6;
RMS_TE=5;
c = ['r.','g.','b.','c.'];
trainn=trainn-4;
testn=testn-4;

figure (1)
hold on;
for i = 1:trainn
    for j = 1:trainm
        if (i<=23)
            plot(i,srbct_train_20(i,j),'r.');
        elseif (i<=31) 
            if (i>23)
                plot(i,srbct_train_20(i,j),'b.');
            end
        elseif (i<=43) 
            if (i>31)
                plot(i,srbct_train_20(i,j),'g.');
            end
        else
            plot(i,srbct_train_20(i,j),'k.');
        end
    end
end
hold off;
figure (2)
hold on;
for i = 1:testn
    for j = 1:testm
        if (i<=6)
            plot(i,srbct_test_20(i,j),'r.');
        elseif (i<=9) 
            if (i>6)
                plot(i,srbct_test_20(i,j),'b.');
            end
        elseif (i<=15) 
            if (i>9)
                plot(i,srbct_test_20(i,j),'g.');
            end
        elseif (i<=20) 
            if (i>15)
                plot(i,srbct_test_20(i,j),'k.');
            end
        else
            plot(i,srbct_test_20(i,j),'c.');
        end
    end
end
hold off;

